home *** CD-ROM | disk | FTP | other *** search
- Short: OS timeclock resync tool (version 2.20)
- Author: granta@mindspring.com (Grant Allen)
- Uploader: granta@mindspring.com (Grant Allen)
- Type: comm/net
-
- TimeLord: the system time manager from the western province
- on Gallifrey (otherwise known as the U.S. of A.). It will
- re-sync your system battery clock and the standard OS clock
- with that of an internet host. This tool can be run both
- from the command line and from the WorkBench. When run from
- the workbench, the GUI has several additional features not
- available to the transient command:
-
- 1) Window can be shrunk and moved off to the side allowing
- it to be run as a background daemon.
- 2) You can set up a list of hosts with which to re-sync.
- You can manually select a host from the list, or have
- it sequence down through the list, trying each host in
- sequence, until it either successfully connects with
- one or has failed to connect with all of the hosts
- in the list. You can also prioritize the entries by
- moving your favorite entry/entries to the top of the
- list. It will always re-sync from the top of the list
- down. Included are 3 hosts which connect to 3 separate
- addresses at the U.S. Naval Observatory Atomic Clock
- in Greenwich, England. I have included all 3 because
- not all of them are always available (I have had trouble,
- from time to time, connecting with each one).
- 3) Can be configured to re-sync the clocks at a regular
- interval. It is currently configured to continually
- re-sync the system clocks at 10 minute intervals while
- you are on line. When this feature kicks in to perform
- a re-sync, it attempts to re-sync using the "sequence
- through hosts" feature mentioned in #2. This automatic
- re-sync feature can be disabled by setting the re-sync
- interval to 0 minutes.
-
- This program is a full object oriented, C++ program, and
- NOT A COMPILED SCRIPT!!! As such, it uses BSD socket calls, rather
- than using the TCP: device. It has full resource management built
- in, which means it cleans up after itself, making sure
- allocated memory is freed, and all sockets are closed when
- complete. This utility was written from scratch using a
- foundation class system I have written.
-
- A partial list of features provided by this class system include:
- 1) TCP support. This TCP class now uses the 'bsdsocket.library' calls,
- (it originally only used the 'tsocket.library' calls) and is
- therefore compatible with any TCP stack that supports this library
- (AmiTCP, TermiteTCP, ...). This class DOES NOT USE THE TCP:
- DEVICE!!! It should completely ignore this device, and therefore
- won't care if it is mounted. [It was difficult getting the
- 'bsdsocket.library' calls to work correctly as the 'TermiteTCP'
- SDK did not come with the headers to this library, even though
- it had version 4.2 of this library built in, so I had to build
- them using mostly trial and error].
- 2) full resource management
- 3) class which provides full management of child processes or threads
- with message ports to allow communication between parent/child
- 4) full GUI class system providing support for all controls (including
- GadTools, BOOPSI, and DataTypes), windows and virtual screens
- 5) all GUI objects support arrays, so you can have arrays of controls
- or even windows
- 6) full GUI message dispatcher built in so you don't have to
- worry about this. you simply have to add message handlers
- for those messages which you want to handle. interpretation,
- processing, and replying to messages is all handled internally
- for you. this works similarly to a package called "Visual C++" found
- on another operating system [the name of which escapes me right now :)].
- 7) interprocess communication port class
- 8) high performance string class. they are also managed resources so that if
- any are not destructed upon exit from the program, then the manager will
- do it for you, thus making sure all memory allocated to them are freed.
- 9) full set of signal handling classes
- 10) full featured date class providing program control over how the operating
- system handles daylight savings time (from completely off, to calculate
- daylight savings, but don't adjust initially, to fully automated
- calculation of daylight savings start/end dates and adjust time
- accordingly. Also fully handles timezone changes, taking daylight savings
- into account. Also includes date string parser/interpreter which can
- input a date in virtually any format, using as little date information
- as possible.
- 11) easy timer and clock classes, allowing easy access to the system clock
- (timer device), and the battery backed up clock (battclock resource).
- it also supports multi-timer-events allowing you to send and manage
- multiple timer events using the same timer object. full cleanup is
- provided to cancel any outstanding timer events when the object is
- destructed. each object is individual, allowing you to have as many
- separate timer/clock objects as you may need.
-
- All of these classes, and the above program were were
- designed and compiled using SAS C++ 6.57. This utility REQUIRES:
- a 68030+ CPU, and has been extensively tested on OS 3.1. It may
- possibly run on OS 2.0+ (though I don't have any way of testing
- for this), but it probably won't run on pre-2.0 as it uses many
- functions which use "Tags" and it uses several GadTools gadgets,
- which weren't "officially" supported prior to 2.0. It also uses
- the 'battclock.resource' which I believe didn't exist prior to
- OS 2.0.
-
- Revision History:
- v2.00: first release. used Termite TCP only.
- v2.10: second release. altered to use 'bsdsocket.library' calls.
- v2.20: added Hotkeys. Now, in addition to using <TAB>/<SHIFT><TAB>
- to go from gadget to gadget, each and every control as a
- special hotkey sequence associated with it. now, you can
- do everything without even touching the mouse. HotKeys are
- documented in the built-in quick help.
- v2.30: looking at implementing support for INet 225 into my foundation
- system socket class. This would allow any program based on this
- class system to internally support both 'bsdsocket.library'
- AND the INet 225 'socket.library'.
-
- -----------------------------------
-
- The latest version of this tool, and many others developed by me,
- can be found at my web site at:
-
- http://www.mindspring.com/~granta/
-
- -----------------------------------
-
- Please don't break up this archive if you upload it elsewhere.
-
- -----------------------------------
-
- You are not allowed to charge for the distribution of this
- utility. I retain all rights to it, but I am not charging any
- fees for its use. It is fully operational (not crippleware),
- and contains NO nag screens!!! All help is built in. To run
- the GUI interface, simply run it without arguments, or click
- on the 'TimeLord' icon.
-
- -----------------------------------
-
- Please drop me a message letting me know what you think of it...
- suggestions, bugs, ...
-
-